// 用户数据
export const mockUsers = [
  {
    id: '1',
    name: '张三',
    avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=user1',
    status: 'online',
    email: 'zhang@example.com'
  },
  {
    id: '2',
    name: '李四',
    avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=user2',
    status: 'online',
    email: 'li@example.com'
  },
  {
    id: '3',
    name: '王五',
    avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=user3',
    status: 'offline',
    email: 'wang@example.com'
  }
];

// 文件夹数据
export const mockFolders = [
  {
    id: 'work',
    name: '工作文档',
    itemCount: 5,
    color: '#4CAF50',
    createdAt: '2024-03-20',
    parentId: null
  },
  {
    id: 'project',
    name: '项目文件',
    itemCount: 3,
    color: '#2196F3',
    createdAt: '2024-03-19',
    parentId: 'work'
  },
  {
    id: 'personal',
    name: '个人文件',
    itemCount: 2,
    color: '#9C27B0',
    createdAt: '2024-03-18',
    parentId: null
  },
  {
    id: 'templates',
    name: '模板',
    itemCount: 4,
    color: '#FF9800',
    createdAt: '2024-03-17',
    parentId: null
  }
];

// 表格数据
export const mockSheets = [
  {
    id: '1',
    name: '2024年Q1销售报表',
    lastModified: '2024-03-20',
    type: '财务',
    folderId: 'work',
    isStarred: true,
    sharedWithMe: false,
    activeUsers: [mockUsers[0], mockUsers[1]]
  },
  {
    id: '2',
    name: '产品开发进度',
    lastModified: '2024-03-19',
    type: '项目',
    folderId: 'project',
    isStarred: false,
    sharedWithMe: true,
    activeUsers: [mockUsers[1]]
  },
  {
    id: '3',
    name: '市场营销计划',
    lastModified: '2024-03-18',
    type: '营销',
    folderId: 'work',
    isStarred: false,
    sharedWithMe: true,
    activeUsers: [mockUsers[0], mockUsers[1], mockUsers[2]]
  },
  {
    id: '4',
    name: '人员培训记录',
    lastModified: '2024-03-17',
    type: 'HR',
    folderId: 'templates',
    isStarred: true,
    sharedWithMe: false,
    activeUsers: []
  }
];

// 默认菜单项
export const defaultMenuItems = [
  {
    id: 'all',
    label: '全部文件',
    icon: 'Files'
  },
  {
    id: 'recent',
    label: '最近',
    icon: 'Timer'
  },
  {
    id: 'starred',
    label: '已收藏',
    icon: 'Star'
  },
  {
    id: 'shared',
    label: '共享给我的',
    icon: 'Share'
  }
];

// 当前用户
export const currentUser = {
  id: '0',
  name: '当前用户',
  avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=current',
  email: 'current@example.com',
  status: 'online'
};

// 在线好友
export const onlineFriends = [mockUsers[0], mockUsers[1]];

// 搜索结果
export const searchResults = [mockUsers[2]]; 